package com.hksj.Intelligentmanagement.common;

public class Constants {

    public static final int RESULT_CODE_SUCCESS = 200;  // 成功处理请求
    public static final int RESULT_CODE_BAD_REQUEST = 412;  // 请求错误
    public static final int RESULT_CODE_NOT_LOGIN = 402;  // 未登录
    public static final int RESULT_CODE_PARAM_ERROR = 406;  // 传参错误
    public static final int RESULT_CODE_SERVER_ERROR= 500;  // 服务器错误

    //统一返回体的默认msg
    public static final String DEFAULT_SUCCESS_MESSAGE = "SUCCESS";
    public static final String DEFAULT_FAIL_MESSAGE = "FAIL";

    public static final String ROLE_PREFIX = "ROLE_";

    // 等等，可以根据场景继续添加

    //护士人员类型
    public static final Integer TYPE_NURSE = 1;

    //麻醉人员类型
    public static final Integer TYPE_ANESTHESIA = 2;


    //手术备注信息
    //平诊
    public static final String GENERAL_TREATMENT = "平诊";

    //急诊
    public static final String EMERGENCY_TREATMENT = "急诊";

    public static final String ENABLE_AUTO_SYNC_KEY = "enable_auto_sync_key";
}
